﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace XRPGLibrary.TileEngine
{
    public class Tile
    {
        #region Field Region
        int tileIndex;//tile在当前集合中的索引
        int tileset;//tile所在集合的索引
        #endregion
        #region Property Region
        public int TileIndex
        {
            get { return tileIndex; }
            private set { tileIndex = value; }
        }
        public int Tileset
        {
            get { return tileset; }
            private set { tileset = value; }
        }
        #endregion
        #region Constructor Region
        public Tile(int tileIndex, int tileset)
        {
            TileIndex = tileIndex;
            Tileset = tileset;
        }
        #endregion
    }
}